package com.um.jdy.ykc.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 邓南辉
 * 日期 2022/7/4
 * 版权所有 广州优匠科技有限公司
 */
@Getter
@AllArgsConstructor
public enum CommandEnum {

    Cmd01LoginRequest("01","充电桩登录认证"),
    Cmd02LoginResponse("02","登录认证应答"),
    Cmd03HeartbeatRequest("03","充电桩心跳包"),
    Cmd04HeartbeatResponse("04","心跳包应答"),
    Cmd05VerifyPriceModelRequest("05","计费模型验证请求"),
    Cmd06VerifyPriceModelResponse("06","计费模型验证请求应答"),
    Cmd09GetPriceModelRequest("09","充电桩计费模型请求"),
    Cmd0AGetPriceModelResponse("0A","计费模型请求应答"),
    Cmd12ReadRealtimeData("12","读取实时监测数据"),
    Cmd13UploadRealtimeData("13","上传实时监测数据"),
    Cmd15ChargeHandshake("15","充电握手"),
    Cmd17BmsSettings("17","参数配置"),
    Cmd19ChargeEnd("19","充电结束"),
    Cmd1BErrorReport("1B","错误报文"),
    Cmd1DBmsStopWhenCharging("1D","充电阶段 BMS 中止"),
    Cmd21ChargerStopWhenCharging("21","充电阶段充电机中止"),
    Cmd23BmsRequireWhenCharging("23","充电过程 BMS 需求、充电机输出"),
    Cmd25BmsInfoWhenCharging("25","充电过程 BMS 信息"),
    Cmd31DeviceStartChargeRequest("31","充电桩主动申请启动充电"),
    Cmd32DeviceStartChargeResponse("32","运营平台确认启动充电"),
    Cmd33ServerStartChargeResponse("33","远程启机命令回复"),
    Cmd34ServerStartChargeRequest("34","运营平台远程控制启机"),
    Cmd35ServerStopChargeResponse("35","远程停机命令回复"),
    Cmd36ServerStopChargeRequest("36","运营平台远程停机"),
    Cmd3BUploadOrderRequest("3B","交易记录"),
    Cmd40UploadOrderResponse("40","交易记录确认"),
    Cmd41UpdateBalanceResponse("41","余额更新应答"),
    Cmd42UpdateBalanceRequest("42","远程账户余额更新"),
    Cmd43AddCardsResponse("43","卡数据同步应答"),
    Cmd44AddCardsRequest("44","离线卡数据同步"),
    Cmd45RemoveCardsResponse("45","离线卡数据清除应答"),
    Cmd46RemoveCardsRequest("46","离线卡数据清除"),
    Cmd47QueryCardsResponse("47","离线卡数据查询应答"),
    Cmd48QueryCardsRequest("48","离线卡数据查询"),
    Cmd51UpdateSettingsResponse("51","充电桩工作参数设置应答"),
    Cmd52UpdateSettingsRequest("52","充电桩工作参数设置"),
    Cmd55UpdateTimeResponse("55","对时设置应答"),
    Cmd56UpdateTimeRequest("56","对时设置"),
    Cmd57UpdatePriceModelResponse("57","计费模型应答"),
    Cmd58UpdatePriceModelRequest("58","计费模型设置"),
    Cmd91RebootDeviceResponse("91","远程重启应答"),
    Cmd92RebootDeviceRequest("92","远程重启"),
    Cmd93UpgradeDeviceResponse("93","远程更新应答"),
    Cmd94UpgradeDeviceRequest("94","远程更新");

    private String key;
    private String value;
}
